<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>家</title>
<link rel="stylesheet" href="${ctxStatic}/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="${ctxStatic}/css/fantasy-home.css">
	<script language="javascript">
		function gt() {
			var d = new Date();
			return(""+d.getYear()+d.getMonth()+d.getDay()+d.getHours()+d.getMinutes()+d.getSeconds()+d.getUTCMilliseconds());
		}
		var wh;
		function w(u,n,w,h,scrl){
			if (u.indexOf("?",0) == -1)
				u = u + "?time=";
			else
				u = u + "&time=";
			u = u + gt();
			wh = open(u,n,"width=" + w + ",height=" + h + ",stats=no,titlebar=no,location=no,toolbar=no,scrollbars=" + scrl + ",resizeable=no");
			wh.focus();
		}
	</script>
</head>
<body>
<body>
 <div class="container">
 	<!-- 头部 -->
  	<div class="layui-row">
	    <div class="navlogo">
			<img src="${ctxStatic}/images/f/豪华官邸_01.jpg" border="0">
	    </div>
	    <div class="navgb">
			<div class="layui-row fantasy-tips">
				<script type="text/javascript" src="${ctxStatic}/js/kouhao.js"></script>
			</div>
		    <!-- 头部区域（可配合layui已有的水平导航） -->
		    <ul class="nav">
		      <li class="layui-nav-item"><a href="">电子公告牌</a></li>
		      <li class="layui-nav-item"><a href="">世界地图</a></li>
		      <li class="layui-nav-item"><a href="">NPC定位</a></li>
		      <li class="layui-nav-item"><a href="">货物查询</a></li>
		      <li class="layui-nav-item"><a href="">玩家帮派</a></li>
		      <li class="layui-nav-item"><a href="">婚姻登记</a></li>
		      <li class="layui-nav-item"><a href="">新手指南</a></li>
		      <li class="layui-nav-item"><a href="">官方攻略</a></li>
		    </ul>
	    	<div class="triangle-left-bottom"></div>
	    </div>
  </div>
  <!-- 中部-->
  <div class="layui-row">
    <div class="middleleft">
	    <div class="left1">
			<iframe id="homeleftframe" name="homeleftframe"
					src="${pageContext.request.contextPath}/fantasy/move/toHomeLeft"
					scrolling="no" frameborder="0" width="265px" height="241px" marginwidth="0" marginheight="0"></iframe>
	    </div>
	    <div class="left2">
			<iframe id="mainchat" name="mainchat" width="100%" height="400" frameborder="0" scrolling="no"
					src="http://localhost:8081/chat?fromUser=${user.id}"></iframe>
	    </div>
    </div>
    <div class="middle">
		<div id="content">
			<iframe id="contentframe" name="contentframe"
					src="${pageContext.request.contextPath}/fantasy/move/toHomeMain"
					scrolling="no" frameborder="0" width="100%" height="598px" marginwidth="0" marginheight="0"></iframe>
		</div>
    </div>
    <div class="middlebottom">
				
	</div>
  </div>
 <!-- 底部 -->
  <div class="layui-row">
    <div class="layui-col-md3">

    </div>
    <div class="layui-col-md9">
		
    </div>
  </div>
</div>
</body>
<script type="text/javascript" src="${ctxStatic}/easyui/jquery.min.js"></script>
<script src="${ctxStatic}/layui/layui.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/login.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/moveto.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});
</script>
</html>